package com.docmanage.web.controller.am;

import com.docmanage.am.domain.vo.BDCTest;
import com.docmanage.am.service.impl.BDCTeatService;
import com.docmanage.common.core.controller.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/bdc")
public class DBCTestController  extends BaseController {

    @Autowired
    private BDCTeatService bdcTeatService;

    @GetMapping("/getdata")
    public List<BDCTest> getdata() {
        return bdcTeatService.getdata();
    }
}
